package com.freda.oa.flow.run.model.itf;

import com.freda.oa.flow.run.vo.FlowRunInfoVo;

public interface FlowHisTaskmodelItf {
	/**
	 * 添加历史
	 * @param runInfo
	 * @return
	 */
	public abstract int addHisTask(FlowRunInfoVo runInfo);
	/**
	 * 编辑历史（时间等）
	 * @param runInfo
	 * @return
	 */
	public abstract int editHisTask(FlowRunInfoVo runInfo);
	/**
	 * 锁定处理人
	 * @param runInfo
	 * @return
	 */
	public abstract int lockAssignee(FlowRunInfoVo runInfo);
	/**
	 * 解锁处理人
	 * @param runInfo
	 * @return
	 */
	public abstract int unLockAssignee(FlowRunInfoVo runInfo);
	/**
	 * 设置历史状态
	 * @param runInfo
	 * @return
	 */
	public abstract int editState(FlowRunInfoVo runInfo);

}